import 'package:flutter/material.dart';
import 'package:flutter_base/config/app_color.dart';

class CommonLoadingWidget extends StatelessWidget {
  const CommonLoadingWidget({super.key});


  static Widget progressIndicator({double width = 30, double height = 30}) {
    return Center(
      child: SizedBox(
        width: width,
        height: height,
        child: const CircularProgressIndicator(
          color: AppColor.colorWhite60,
        ),
      ),
    );
  }

  @override
  Widget build(BuildContext context) {
    return progressIndicator();
  }
}
